//
//  weChatResult.h
//  test1
//
//  Created by gengzhangjia on 15/7/29.
//  Copyright (c) 2015年 gengzhangjia. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WXApiObject.h"
#import "weChatCommon.h"

@interface weChatResult : NSObject

+ (instancetype) success;
+ (instancetype) notInstallApp;
+ (instancetype) notSupportAPI;
+ (instancetype) notError;

+ (instancetype) createConditionWithErrorCode:(WeChatResultCode) resultCode
                                   resultInfo:(NSString *) resultInfo;
- (WeChatResultCode) resultCode;
- (void) setResultCode:(WeChatResultCode) resultCode;
- (NSString *) resultErrorInfo;
- (void) setResultErrorInfo:(NSString *) resultErrorInfo;
- (void) parseResult:(BaseResp *) resp;

@end
